package com.surprise.db.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.surprise.base.bo.IHasIdInterface;

import lombok.Data;

/**
 * 活动报名，优惠购买
 * @author nick
 * @since 2016年1月7日
**/
@Data
@Entity(name = "signActivity")
public class SignActivity implements IHasIdInterface {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    protected Long id;
    private String type; // 10，搜乐活动，20，玩尚品牌，30,觅食
    private String checkNum; // 
    private String userid; // 用户ID
    private long activeid;
    private String status;
    @JsonIgnore
    protected Date addtime;
    @JsonIgnore
    protected Date updatetime;
}
